import requests
def face_analyze(API_key,API_secret,face_tokens,beauty_score_min=0,beauty_score_max=100):
    """face++ 人脸检测接口函数(图片链接)"""
    Analyze_base_url = 'https://api-cn.faceplusplus.com/facepp/v3/face/analyze'
    payload={
        'api_key':API_key,
        'api_secret':API_secret,
        'face_tokens':face_tokens,
        'beauty_score_min':beauty_score_min,
        'beauty_score_max':beauty_score_max   
    }
    r_analyze = requests.post(url = Analyze_base_url, params = payload)
    reSturn r_Analyze.json()
